package nuc.soft.xsf.interceptors;

/**
 * 全局常量类
 * @author Zy
 * @date Mar 13, 2017
 *
 */
public class GlobalConstants {

	public static final int PAGE_DEFAULT_SIZE = 10;
	
	/**
	 * 登录成功后需要跳转的url的key值
	 */
	public static final String RETURN_URL = "returnUrl";
	
	
	/**
	 * 登录的用户，用于Session存储
	 */
	public static final String LOGIN_USER = "User01";
	
	
	/**
	 * 前台登录的用户
	 */
	public static final String Login_UserName="UserFront";
	/**
	 * 企业 code 前缀
	 */
	public static final String CORP_CD_PREFIX = "corp_";
	public static final String PRODUCT_CD_PREFIX = "product_";
	public static final String INDUSTRY_CD_PREFIX = "industry_";
	public static final String SUP_CD_PREFIX = "sup_";
	public static final String EVA_CD_PREFIX = "eva_";
	public static final String CON_CD_PREFIX = "con_";
	
	
	/**
	 * 编辑器上传文件 code 前缀
	 */
	public static final String EDITOR_PIC_CD_PREFIX = "editor_pic_";
	
	/**
	 * 展示图片code前缀
	 */
	public static final String SHOW_PIC_CD_PREFIX="show_pic_";
	public static final String SHOW_PIC_THUMB_PREFIX="thumb_";
	
	/**
	 * 附件前缀
	 */
	public static final String ATTACHMENT_CD_PREFIX="attachment_";
	
	/**
	 * 当前语言
	 */
	public static final String CURRENT_LANG="currentLang";
	
	public static final String LANG_ENGLISH = "en";
	
	public static final String LANG_CHINESE = "zh";
	
	/**
	 * 文件上传路径
	 */
	public static final String EDITOR_PIC_UPLOAD_PATH = "/uploads/editor/img";
	
	public static final String SHOW_PIC_UPLOAD_PATH = "/uploads/show/img";
	
	public static final String ATTACHMENT_UPLOAD_PATH = "/uploads/attachment";
	
	public static final String SEP_FILE_PATH = "/SEP_File";
	
}
